package com.swotplus.system.sys.service.impl;

import com.swotplus.system.sys.entity.SysLogininfor;
import com.swotplus.system.sys.mapper.SysLogininforMapper;
import com.swotplus.system.sys.service.SysLogininforService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * <p>
 * 系统访问记录 服务实现类
 * </p>
 *
 * @author hugang
 * @since 2020-04-12
 */
@Service
public class SysLogininforServiceImpl extends ServiceImpl<SysLogininforMapper, SysLogininfor> implements SysLogininforService {
        @Autowired
        private SysLogininforMapper  sysLogininforMapper;

        /**
         * 清空系统登录日志
         */
        @Override
        public void cleanLogininfor() {
                sysLogininforMapper.cleanLogininfor();
        }
}
